﻿@model List<DailyMotion.DataAccess.DailyMotionVideo>
<ul class="relatedList">
    @foreach (var item in Model)
    {        
        <li><a class="relatedVideoLink" href="@Url.Action("Show", new { id = @item.ID })"
        title="@item.Title">
            <img src="@item.ThumbnailUrl" alt="@item.Title"/>
        </a>
            <div class="relatedVideoInfo">
                <span class="title">@Html.ActionLink(@item.Title, "Show", new { id = @item.ID })</span>
                <span class="author">by @Html.ActionLink(item.Owner, "ShowLists", new { id = item.OwnerID })</span>
                <span class="views">@item.ViewsLastWeek views</span>
            </div>
        </li>
        
    }
</ul>
